package com.portal.logic;

import java.io.Serializable;

public class Salesman implements Serializable {
 
	private static final long serialVersionUID = 448972900873076122L;
	
	private int id;
	private String name;
	private String pswrd;
	private String role;
	private int isConnected;//must be 0 or 1
	
	public Salesman() {
		
	}

	public Salesman(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPswrd() {
		return pswrd;
	}

	public void setPswrd(String pswrd) {
		this.pswrd = pswrd;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public int getIsConnected() {
		return isConnected;
	}

	public void setIsConnected(int isConnected) {
		this.isConnected = isConnected;
	}
	
	
}
